<template>
	<div>
		<span class="info">{{msg}}</span>
		<router-link to="/login">登录</router-link>
		<router-link to="/register">注册</router-link>
		<router-view></router-view>
		
	</div>
</template>
<script>
	export default {
		data:function(){
			return {
				msg:'hello world'
			}
		},
		methods:{
			
		},
		created:function(){
			
		}
	}
</script>
<style scoped="scoped">
	.info {
		width: 50px;
		height: 30px;
		background: red;
		color: wheat;
	}
</style>